package com.ibm.db2oncampus.portal.usuario.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.ibm.db2oncampus.portal.framework.domain.DomainObject;

public class Person implements DomainObject {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String userId;
	
	private String firstName;
	private String middleName;
	private String lastName;
	private Date dateOfBirth;
	
	private String streetAddress;
	private String postalCode;
	private String city;
	private String country;
	
	private String userType;
	private String institutionName;
	
	private String homePhone;
	private String workPhone;
	private String mobilePhone;
	
	private String password;
	private String securityQuestion;
	private String securityAnswer;
	
	
	private Set<Experience> experience = new HashSet<Experience>();
	
	private boolean subscribedToNewsletter;
	
	private Date registrationDate;
	
	private Set<Role> rolesPlayed = new HashSet<Role>();
	private boolean activeProfile;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getMiddleName() {
		return middleName;
	}
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public Date getDateOfBirth() {
		return dateOfBirth;
	}
	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}
	public String getSecurityQuestion() {
		return securityQuestion;
	}
	public void setSecurityQuestion(String securityQuestion) {
		this.securityQuestion = securityQuestion;
	}
	public String getSecurityAnswer() {
		return securityAnswer;
	}
	public void setSecurityAnswer(String securityAnswer) {
		this.securityAnswer = securityAnswer;
	}
	public boolean isSubscribedToNewsletter() {
		return subscribedToNewsletter;
	}
	public void setSubscribedToNewsletter(boolean subscribedToNewsletter) {
		this.subscribedToNewsletter = subscribedToNewsletter;
	}
	public String getInstitutionName() {
		return institutionName;
	}
	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}
	public Set<Experience> getExperience() {
		return experience;
	}
	public void setExperience(Set<Experience> experience) {
		this.experience = experience;
	}

	public String getStreetAddress() {
		return streetAddress;
	}
	public void setStreetAddress(String streetAddress) {
		this.streetAddress = streetAddress;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public Date getRegistrationDate() {
		return registrationDate;
	}
	public void setRegistrationDate(Date registrationDate) {
		this.registrationDate = registrationDate;
	}
	public Set<Role> getRolesPlayed() {
		return rolesPlayed;
	}
	public void setRolesPlayed(Set<Role> rolesPlayed) {
		this.rolesPlayed = rolesPlayed;
	}
	public String getHomePhone() {
		return homePhone;
	}
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	public String getWorkPhone() {
		return workPhone;
	}
	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public boolean isActiveProfile() {
		return activeProfile;
	}
	public void setActiveProfile(boolean activeProfile) {
		this.activeProfile = activeProfile;
	}
}
